package NGUYENVANDOAN.OOP.EXCERCISES.LEVEL02.EX05;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//1. Create object
        Stock obj = new Stock("SUNW", "Sun Microsystems Inc");
        obj.setPreviousClosingPrice(100);
        obj.setCurrentPrice(90);
        System.out.print("\n+ Symbol: "+ obj.getSymbol());
        System.out.print("\n+ Name: "+ obj.getName());
        System.out.print("\n+ Price-change Percentage: "+ obj.changePercent()+"%");		
	}
}
